package cn.growthgate.fgo.entity.enums;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

import com.baomidou.mybatisplus.enums.IEnum;

public enum ServantCards implements IEnum {

	QABBB(0, "QABBB",
			Arrays.asList(ColorCard.QUICK, ColorCard.ARTS, ColorCard.BUSTER, ColorCard.BUSTER, ColorCard.BUSTER)),
	QAABB(1, "QAABB",
			Arrays.asList(ColorCard.QUICK, ColorCard.ARTS, ColorCard.ARTS, ColorCard.BUSTER, ColorCard.BUSTER)),
	QAAAB(2, "QAAAB",
			Arrays.asList(ColorCard.QUICK, ColorCard.ARTS, ColorCard.ARTS, ColorCard.ARTS, ColorCard.BUSTER)),
	QQABB(3, "QQABB",
			Arrays.asList(ColorCard.QUICK, ColorCard.QUICK, ColorCard.ARTS, ColorCard.BUSTER, ColorCard.BUSTER)),
	QQAAB(4, "QQAAB",
			Arrays.asList(ColorCard.QUICK, ColorCard.QUICK, ColorCard.ARTS, ColorCard.ARTS, ColorCard.BUSTER)),
	QQQAB(5, "QQQAB",
			Arrays.asList(ColorCard.QUICK, ColorCard.QUICK, ColorCard.QUICK, ColorCard.ARTS, ColorCard.BUSTER));

	private int value;
	private String desc;
	private List<ColorCard> colorCards;

	private ServantCards(final int value, final String desc, final List<ColorCard> colorCards) {
		this.value = value;
		this.desc = desc;
		this.colorCards = colorCards;
	}

	@Override
	public Serializable getValue() {
		return value;
	}

	public String getDesc() {
		return desc;
	}

	public List<ColorCard> getColorCards() {
		return colorCards;
	}

	@Override
	public String toString() {
		return getDesc();
	}
	
}
